<%@page import="ipsite.controller.Utils"%>
<%@page import="java.util.ArrayList"%>
<%@page import="sun.misc.Cache"%>
<%
ArrayList<String> lastViewDomain = (ArrayList<String>)Utils.cache.get("lastviews");

if(lastViewDomain != null && lastViewDomain.size() > 0)
{	
%>
		<h1>Recent site view</h1>
		<hr/>
		<ul class="list-site">
			<% 
				for(String domainName : lastViewDomain) 
				{
					String string = domainName;
			%>
					<li><a href="/d/<%=domainName %>" title="<%=string %>"><%=string %></a></li>
			<%
				}
			%>
		</ul>			
<% 
	}
%>